package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


//问卷试题信息
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TestSoulQuestion implements Serializable {

   private String id          ;// varchar(30) null comment '试题编号',
   private String question    ;// varchar(50) null comment '题目',
   private String testSoulId;// varchar(30) null comment '问卷编号',
   @TableField(fill = FieldFill.INSERT)
   private Date updated     ;// datetime    null comment '修改时间',

   @TableField(fill = FieldFill.INSERT_UPDATE)
   private Date created     ;// datetime    null comment '创建时间'


    @TableField(exist = false)
    private List<TestSoulQuestionsOption> options;
}
